<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
namespace Common\Logic;
use Common\Model\UserModel;

class LoginLogic extends BaseLogic {

	private $userModel;
    /**
     * 初始化方法
     */
    public function __construct() {
        parent::__construct();
        $this->userModel = new UserModel();
    }

    public function checkInfo($mobile,$password){
        return $this->userModel->getUserInfo($mobile,$password);
    }
}